<?php
namespace app\index\controller;
use	think\Controller;
use	think\Db;


class Index extends	Controller {
	
    public function index($name	= 'World')
    {
    	$this->assign('name',	$name);						
		return	$this->fetch("hello");
    }
    
    
	public function hello($name = 'ABC346')	
	{		
		$data =	Db::name('user')->find();
		$this->assign('result',	$data);								
		return	$this->fetch('index');
	} 
    
}
